package com.xyht.sca_s.student_manage_system.modules.assetFixedBorrow.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_borrow_apply_goods")
@ApiModel(value="SmsAssetFixedBorrowApplyGoods对象", description="")
public class SmsAssetFixedBorrowApplyGoodsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "出库资产名称")
    private String assetName;

    @ApiModelProperty(value = "出库资产类别")
    private String assetCategory;

    @ApiModelProperty(value = "资产状态：1：库中   2：借出  3：维修   4：报废 ")
    private Integer assetStatus;

    private String assetCategoryName;

    @ApiModelProperty(value = "出库资产品牌")
    private String assetBrand;

    @ApiModelProperty(value = "出库资产型号")
    private String assetModel;

    @ApiModelProperty(value = "出库资产数量")
    private Integer assetNum;

    @ApiModelProperty(value = "出库资产单位")
    private String assetUnit;

    @ApiModelProperty(value = "出库资产单价")
    private BigDecimal assetPrice;

    @ApiModelProperty(value = "资产位置")
    private String assetPlace;

    @ApiModelProperty(value = "备注")
    private String remake;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "申请id")
    private String applyId;

    private List<String> assetAssetIdList;

    private Integer assetCount;


}
